feat(ci): built-in actions/checkout and uses handling#376
Conversation
🍊 Orange Codens レビュー🔒 セキュリティ: 本 diff は CI Runner における 指摘事項はありません。✨ head: |
Implements the `uses:` steps that were previously skipped silently. - actions/checkout (any version) is built in: it clones the repository at the run's commit into the job's workspace, so subsequent run steps see the repo files (the on-disk repo path now rides on the run payload from the trigger). - Every job instance gets its own workspace under the run's temp dir, so checkout starts clean and parallel matrix instances don't collide. - Any other `uses:` action is logged as unsupported and skipped (not failed), so workflows referencing marketplace actions still make progress. - checkout / unsupported-action notes are emitted as job log lines, so they show in the web UI alongside step output. Also add an inert global EventSource stub to the vitest setup: jsdom lacks EventSource, so render-only tests of the job-log page intermittently threw "EventSource is not defined". Streaming tests still install their own mock. Verified live: `uses: actions/checkout@v4` then `cat VERSION.txt` prints the committed file; an unsupported action logs a skip note and the run still succeeds. Follow-up: real sealed-box action secrets.
a2b42ed to
b361408
Compare
|
Rebased onto main. Note: #377 landed a |
Fourth PR completing the Actions executor:
uses:steps (previously skipped silently).What
runsteps see the repo files. The on-disk repo path now rides on the run payload from the trigger.uses:is logged as unsupported and skipped (not failed), so workflows referencing marketplace actions still make progress.Also fixes a flaky frontend test: jsdom lacks
EventSource, so render-only tests of the job-log page intermittently threwEventSource is not defined. Added an inert global stub in the vitest setup (streaming tests still install their own mock).Verified live
Unit tests: checkout invoked with repo path + head SHA + a dest dir; an unsupported action does not fail the run and later steps still run.
Follow-up: real sealed-box action secrets (the last known gap).